<div class="body" style="width: 50mm;height: 25mm;padding: 3.6mm 0 0 2mm;box-sizing: border-box;position: relative;line-height: 11pt">
  <div style="height: 100%;">
    <div style="font-size: 8pt;font-family: 'Microsoft YaHei UI', sans-serif;"><b style="max-width: 75px;overflow: hidden">{{deviceInfo?.type}}</b></div>
    <div style="font-size: 7pt;font-family: 'Microsoft YaHei UI', sans-serif;">{{deviceInfo?.color}}  {{deviceInfo?.memory}}</div>
    <div style="font-size: 7pt;font-family: 'Microsoft YaHei UI', sans-serif;">{{deviceInfo?.version}} {{deviceInfo?.network}}</div>
    <div style="font-size: 7pt;font-family: 'Microsoft YaHei UI', sans-serif;">电池{{deviceInfo?.batteryHealth}}({{deviceInfo?.chargeCount}}次)</div>
    <div style="font-size: 7pt;font-family: 'Microsoft YaHei UI', sans-serif;white-space: nowrap" *ngIf="!deviceInfo?.serialNumber||deviceInfo?.imei">{{deviceInfo?.imei}}</div>
    <div style="font-size: 7pt;font-family: 'Microsoft YaHei UI', sans-serif;white-space: nowrap" *ngIf="!deviceInfo?.imei&&deviceInfo?.serialNumber">{{deviceInfo?.serialNumber}}</div>
  </div>
  <div style="position: absolute;top: 3.6mm;right: 5mm;z-index: 999;text-align: center">
    <div id="deviceQrcode" style="width: 15.1mm;height: 15.1mm"></div>
    <div style="margin-top: 1.5mm;font-size: 6pt;line-height: 1.7mm;font-family: 'Microsoft YaHei UI', sans-serif;"><b>{{deviceInfo?.serial}}</b></div>
  </div>
</div>
